namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// 工位配置表查询对象
    /// </summary>
    public class WorkstationConfigQueryDto : PagerInfo
    {
        public string ProductionLineCode { get; set; }
        public string HmiCode { get; set; }
        public string WorkstationCode { get; set; }
    }

    /// <summary>
    /// 工位配置表输入输出对象
    /// </summary>
    public class WorkstationConfigDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public int Id { get; set; }

        public string ProductionLineCode { get; set; }

        public string HmiCode { get; set; }

        public string WorkstationCode { get; set; }

        public string WorkstationName { get; set; }

        public int PlcEnabled { get; set; }

        public int ScannerEnabled { get; set; }

        public int CcdEnabled { get; set; }

        public int PrinterEnabled { get; set; }

        public int MarkingMachineEnabled { get; set; }

        public int MaterialVerificationEnabled { get; set; }

        public int ToleranceVerificationEnabled { get; set; }

        public int StationVerifyEnabled { get; set; }

        public bool IsEnabled { get; set; }

        public DateTime? CreationTime { get; set; }

        public string CreatorName { get; set; }

        [ExcelColumn(Name = "是否启用（软删除）")]
        public string IsEnabledLabel { get; set; }
    }
}